<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>bn::sprite_builder class | Butano Docs</title>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
  <link rel="stylesheet" href="m-dark+documentation.compiled.css" />
  <link rel="icon" href="favicon-dark.png" type="image/png" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta name="theme-color" content="#22272e" />
</head>
<body>
<header><nav id="navigation">
  <div class="m-container">
    <div class="m-row">
      <span id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m">
        <a href="https://github.com/GValiente/butano">Butano</a> <span class="m-breadcrumb">|</span> <a href="index.html" class="m-thin">Docs</a>
      </span>
      <div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
        <a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
          <path id="m-doc-search-icon-path" d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z"/>
        </svg></a>
        <a id="m-navbar-show" href="#navigation" title="Show navigation"></a>
        <a id="m-navbar-hide" href="#" title="Hide navigation"></a>
      </div>
      <div id="m-navbar-collapse" class="m-col-t-12 m-show-m m-col-m-none m-right-m">
        <div class="m-row">
          <ol class="m-col-t-6 m-col-m-none">
            <li><a href="pages.html">Pages</a></li>
            <li><a href="modules.html">Modules</a></li>
          </ol>
          <ol class="m-col-t-6 m-col-m-none" start="3">
            <li><a href="namespaces.html">Namespaces</a></li>
            <li><a href="annotated.html">Classes</a></li>
            <li><a href="files.html">Files</a></li>
            <li class="m-show-m"><a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
              <use href="#m-doc-search-icon-path" />
            </svg></a></li>
          </ol>
        </div>
      </div>
    </div>
  </div>
</nav></header>
<main><article>
  <div class="m-container m-container-inflatable">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <h1>
          <span class="m-breadcrumb"><a href="namespacebn.html">bn</a>::<wbr/></span>sprite_builder <span class="m-thin">class</span>
          <div class="m-doc-include m-code m-inverted m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__sprite__builder_8h.html">&lt;bn_sprite_builder.h&gt;</a></div>
        </h1>
        <p>Creates <a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> objects with custom attributes.</p>
        <nav class="m-block m-default">
          <h3>Contents</h3>
          <ul>
            <li>
              Reference
              <ul>
                <li><a href="#typeless-methods">Constructors, destructors, conversion operators</a></li>
                <li><a href="#pub-methods">Public functions</a></li>
              </ul>
            </li>
          </ul>
        </nav>
<p>If some of the attributes of the sprite to create differs from the default ones, using this class improves performance.</p>
        <section id="typeless-methods">
          <h2><a href="#typeless-methods">Constructors, destructors, conversion operators</a></h2>
          <dl class="m-doc">
            <dt>
              <span class="m-doc-wrap-bumper"><a href="#a179e5b63dc7afff6b74134095766fd37" class="m-doc">sprite_builder</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1sprite__item.html" class="m-doc">sprite_<wbr />item</a>&amp; item) <span class="m-label m-flat m-info">explicit</span> </span>
            </dt>
            <dd>Constructor.</dd>
            <dt>
              <span class="m-doc-wrap-bumper"><a href="#a59b0eaf4a2400430a42ee545977b0323" class="m-doc">sprite_builder</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1sprite__item.html" class="m-doc">sprite_<wbr />item</a>&amp; item,
              int graphics_index)</span>
            </dt>
            <dd>Constructor.</dd>
            <dt>
              <span class="m-doc-wrap-bumper"><a href="#a8e6f2858db1cec335ddf91eaa1450136" class="m-doc">sprite_builder</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1sprite__shape__size.html" class="m-doc">sprite_<wbr />shape_<wbr />size</a>&amp; shape_size,
              <a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a> tiles,
              <a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a> palette)</span>
            </dt>
            <dd>Constructor.</dd>
          </dl>
        </section>
        <section id="pub-methods">
          <h2><a href="#pub-methods">Public functions</a></h2>
          <dl class="m-doc">
            <dt id="ad109861eb91bf7e0b6651abaffba53b7">
              <span class="m-doc-wrap-bumper">auto <a href="#ad109861eb91bf7e0b6651abaffba53b7" class="m-doc-self">item</a>(</span><span class="m-doc-wrap">) const -&gt; const <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__item.html" class="m-doc">sprite_<wbr />item</a>&gt;&amp;</span>
            </dt>
            <dd>Returns the <a href="classbn_1_1sprite__item.html" class="m-doc">sprite_<wbr />item</a> containing the required information to generate sprites if it has one; <a href="namespacebn.html#a01f293535903e4c4777564a86a0f520b" class="m-doc">bn::<wbr />nullopt</a> otherwise.</dd>
            <dt id="ae144147b02f2c5a266391da4632e66cd">
              <span class="m-doc-wrap-bumper">auto <a href="#ae144147b02f2c5a266391da4632e66cd" class="m-doc-self">graphics_index</a>(</span><span class="m-doc-wrap">) const -&gt; int</span>
            </dt>
            <dd>Index of the tile set to reference in item.tiles_item() to generate sprites.</dd>
            <dt id="a2e600dbabc5d497313e80a9b4c9c6647">
              <span class="m-doc-wrap-bumper">auto <a href="#a2e600dbabc5d497313e80a9b4c9c6647" class="m-doc-self">shape_size</a>(</span><span class="m-doc-wrap">) const -&gt; const <a href="classbn_1_1sprite__shape__size.html" class="m-doc">sprite_<wbr />shape_<wbr />size</a>&amp;</span>
            </dt>
            <dd>Returns the shape and size of the sprites to generate.</dd>
            <dt id="a2574e5da55ce6a6f5417fbf9efe19f05">
              <span class="m-doc-wrap-bumper">auto <a href="#a2574e5da55ce6a6f5417fbf9efe19f05" class="m-doc-self">x</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the horizontal position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#aa62b99f3345e749923f76302408ba643" class="m-doc">set_x</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> x) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the horizontal position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt id="a8bc5d218f1d518c67cf3b034c92b594e">
              <span class="m-doc-wrap-bumper">auto <a href="#a8bc5d218f1d518c67cf3b034c92b594e" class="m-doc-self">y</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the vertical position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#adcb80ff85a21d0d298c5b5134843b728" class="m-doc">set_y</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> y) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the vertical position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt id="a7cefc35c5f7c2a222e733849c6cafa8c">
              <span class="m-doc-wrap-bumper">auto <a href="#a7cefc35c5f7c2a222e733849c6cafa8c" class="m-doc-self">position</a>(</span><span class="m-doc-wrap">) const -&gt; const <a href="namespacebn.html#a9d90d92eb951850d75801f5508fc8e90" class="m-doc">fixed_<wbr />point</a>&amp;</span>
            </dt>
            <dd>Returns the position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#aed31e580aecb691da7ce9167e566bba0" class="m-doc">set_position</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> x,
              <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> y) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a9f08025e4104447562e9ff20a1c14423" class="m-doc">set_position</a>(</span><span class="m-doc-wrap">const <a href="namespacebn.html#a9d90d92eb951850d75801f5508fc8e90" class="m-doc">fixed_<wbr />point</a>&amp; position) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt id="a8c7d27e7ebdd4c0fb28cc0e4bdfd809b">
              <span class="m-doc-wrap-bumper">auto <a href="#a8c7d27e7ebdd4c0fb28cc0e4bdfd809b" class="m-doc-self">top_left_x</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the horizontal top-left position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a5bf9262c32ab4dc508b4a5084e90ee2c" class="m-doc">set_top_left_x</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> top_left_x) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the horizontal top-left position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt id="a479fe80f319b99df364177daea19072c">
              <span class="m-doc-wrap-bumper">auto <a href="#a479fe80f319b99df364177daea19072c" class="m-doc-self">top_left_y</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the vertical top-left position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#ae2dc420c0ae6573d561d7e4c908736fa" class="m-doc">set_top_left_y</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> top_left_y) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the vertical top-left position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt id="aefacc7dca835ad7802f1da6747b23df7">
              <span class="m-doc-wrap-bumper">auto <a href="#aefacc7dca835ad7802f1da6747b23df7" class="m-doc-self">top_left_position</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="namespacebn.html#a9d90d92eb951850d75801f5508fc8e90" class="m-doc">fixed_<wbr />point</a></span>
            </dt>
            <dd>Returns the top-left position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#afd11b8d093742d89667f9fa6a244f10d" class="m-doc">set_top_left_position</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> top_left_x,
              <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> top_left_y) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the top-left position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a3d643d3900170f6608ceaf8fb583d414" class="m-doc">set_top_left_position</a>(</span><span class="m-doc-wrap">const <a href="namespacebn.html#a9d90d92eb951850d75801f5508fc8e90" class="m-doc">fixed_<wbr />point</a>&amp; top_left_position) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the top-left position of the sprites to generate (relative to their camera, if they are going to have one).</dd>
            <dt id="ab459d8bf6ad8376bbc4aa4e40a408f04">
              <span class="m-doc-wrap-bumper">auto <a href="#ab459d8bf6ad8376bbc4aa4e40a408f04" class="m-doc-self">rotation_angle</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the rotation angle in degrees of the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a93252e52f8ba6da59ec9f722e3109797" class="m-doc">set_rotation_angle</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> rotation_angle) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the rotation angle in degrees of the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a6954fd12d394c99b8200f4e568ed4e5c" class="m-doc">set_rotation_angle_safe</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> rotation_angle) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the rotation angle in degrees of the sprites to generate.</dd>
            <dt id="a0497c452985bde64b6feb63109e8e967">
              <span class="m-doc-wrap-bumper">auto <a href="#a0497c452985bde64b6feb63109e8e967" class="m-doc-self">horizontal_scale</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the horizontal scale of the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a372f63dd96ed8b6fbedecff801342300" class="m-doc">set_horizontal_scale</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> horizontal_scale) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the horizontal scale of the sprites to generate.</dd>
            <dt id="a7d4c62899b247627290f62fe2956df5c">
              <span class="m-doc-wrap-bumper">auto <a href="#a7d4c62899b247627290f62fe2956df5c" class="m-doc-self">vertical_scale</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the vertical scale of the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a25e3249c8557cecd9a8f79d53860cff7" class="m-doc">set_vertical_scale</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> vertical_scale) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the vertical scale of the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#ae29066f5f74ccfa2f449db51a6e1e516" class="m-doc">set_scale</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> scale) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the scale of the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a728ac7b76f03c8af9bca1f485e0a6d4e" class="m-doc">set_scale</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> horizontal_scale,
              <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> vertical_scale) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the scale of the sprites to generate.</dd>
            <dt id="ac3c0b6f6d3257d27acaa239fbe1ec93a">
              <span class="m-doc-wrap-bumper">auto <a href="#ac3c0b6f6d3257d27acaa239fbe1ec93a" class="m-doc-self">horizontal_shear</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the horizontal shear of the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a9db77266f373925e134d975a5be3a60e" class="m-doc">set_horizontal_shear</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> horizontal_shear) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the horizontal shear of the sprites to generate.</dd>
            <dt id="aa687f9e03951a8e69f6f8c393a039c82">
              <span class="m-doc-wrap-bumper">auto <a href="#aa687f9e03951a8e69f6f8c393a039c82" class="m-doc-self">vertical_shear</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a></span>
            </dt>
            <dd>Returns the vertical shear of the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a40847a2b20fc0c29de6f75b3dae14cb9" class="m-doc">set_vertical_shear</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> vertical_shear) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the vertical shear of the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#af6b2addc06ef516c5c431cf0fd0c034c" class="m-doc">set_shear</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> shear) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the shear of the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#af8a910054b4a7fa63d331a45b3bb937f" class="m-doc">set_shear</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> horizontal_shear,
              <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> vertical_shear) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the shear of the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a6af0cca222e75e9a2dd19e3b2cd9fdf7" class="m-doc">bg_priority</a>(</span><span class="m-doc-wrap">) const -&gt; int</span>
            </dt>
            <dd>Returns the priority of the sprites to generate relative to backgrounds.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a7cfb16f9e9d779a8c70ad1db3a95e856" class="m-doc">set_bg_priority</a>(</span><span class="m-doc-wrap">int bg_priority) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the priority of the sprites to generate relative to backgrounds.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a564dec718e1c1665df707472fc5af581" class="m-doc">z_order</a>(</span><span class="m-doc-wrap">) const -&gt; int</span>
            </dt>
            <dd>Returns the priority of the sprites to generate relative to other ones.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#ab47e59fb08684976128aeea6ae5bcf4a" class="m-doc">set_z_order</a>(</span><span class="m-doc-wrap">int z_order) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the priority of the sprites to generate relative to other ones.</dd>
            <dt id="afe6df587bc09b972b2263a75748db744">
              <span class="m-doc-wrap-bumper">auto <a href="#afe6df587bc09b972b2263a75748db744" class="m-doc-self">horizontal_flip</a>(</span><span class="m-doc-wrap">) const -&gt; bool</span>
            </dt>
            <dd>Indicates if the sprites to generate are flipped in the horizontal axis or not.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a1f02a54db4cf4d31f4f5c2c99c7d4145" class="m-doc">set_horizontal_flip</a>(</span><span class="m-doc-wrap">bool horizontal_flip) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets if the sprites to generate must be flipped in the horizontal axis or not.</dd>
            <dt id="ae5698969771dfe28f2bc2767e3d8f3d7">
              <span class="m-doc-wrap-bumper">auto <a href="#ae5698969771dfe28f2bc2767e3d8f3d7" class="m-doc-self">vertical_flip</a>(</span><span class="m-doc-wrap">) const -&gt; bool</span>
            </dt>
            <dd>Indicates if the sprites to generate are flipped in the vertical axis or not.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a81977126a97ed5a4b904ac8b330e54ef" class="m-doc">set_vertical_flip</a>(</span><span class="m-doc-wrap">bool vertical_flip) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets if the sprites to generate must be flipped in the vertical axis or not.</dd>
            <dt id="aba1e7bc27e47ca6cc675cf9f49f9e714">
              <span class="m-doc-wrap-bumper">auto <a href="#aba1e7bc27e47ca6cc675cf9f49f9e714" class="m-doc-self">mosaic_enabled</a>(</span><span class="m-doc-wrap">) const -&gt; bool</span>
            </dt>
            <dd>Indicates if the mosaic effect must be applied to the sprites to generate or not.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#ac14064cdfa5b5be77e8083176587169e" class="m-doc">set_mosaic_enabled</a>(</span><span class="m-doc-wrap">bool mosaic_enabled) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets if the mosaic effect must be applied to the sprites to generate or not.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#ac5919482e7c9bd406b47c9afcb8c5d70" class="m-doc">blending_enabled</a>(</span><span class="m-doc-wrap">) const -&gt; bool</span>
            </dt>
            <dd>Indicates if blending must be applied to the sprites to generate or not.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a0bf722f041ba29742b16b031a84fd469" class="m-doc">set_blending_enabled</a>(</span><span class="m-doc-wrap">bool blending_enabled) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets if blending must be applied to the sprites to generate or not.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#aa55b90694c3fb12fa4fac1197ef86efd" class="m-doc">window_enabled</a>(</span><span class="m-doc-wrap">) const -&gt; bool</span>
            </dt>
            <dd>Indicates if the sprites to generate must be part of the silhouette of the sprite window or not.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a37f8c95d30c92a5634502c81359bddbb" class="m-doc">set_window_enabled</a>(</span><span class="m-doc-wrap">bool window_enabled) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets if the sprites to generate must be part of the silhouette of the sprite window or not.</dd>
            <dt id="a9b25aa960c7431a1e04c8027d9e3d94d">
              <span class="m-doc-wrap-bumper">auto <a href="#a9b25aa960c7431a1e04c8027d9e3d94d" class="m-doc-self">double_size_mode</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="group__sprite.html#ga68c7968902570367cefcfe86b3db8a72" class="m-doc">sprite_<wbr />double_<wbr />size_<wbr />mode</a></span>
            </dt>
            <dd>Returns the area the sprites to generate use to be drawn when they have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a6ebeba20f312cd064f9c807020c475dd" class="m-doc">set_double_size_mode</a>(</span><span class="m-doc-wrap"><a href="group__sprite.html#ga68c7968902570367cefcfe86b3db8a72" class="m-doc">sprite_<wbr />double_<wbr />size_<wbr />mode</a> double_size_mode) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Specifies the area the sprites to generate use to be drawn when they have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>.</dd>
            <dt id="a8e6fd3eead08c7438afc3c2e44bb6f90">
              <span class="m-doc-wrap-bumper">auto <a href="#a8e6fd3eead08c7438afc3c2e44bb6f90" class="m-doc-self">visible</a>(</span><span class="m-doc-wrap">) const -&gt; bool</span>
            </dt>
            <dd>Indicates if the sprites to generate must be committed to the GBA or not.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a065f92743919c92618ed8bb94d42d7aa" class="m-doc">set_visible</a>(</span><span class="m-doc-wrap">bool visible) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets if the sprites to generate must be committed to the GBA or not.</dd>
            <dt id="a987ebd1fb6eb90c55e29b6cfb1b2caf7">
              <span class="m-doc-wrap-bumper">auto <a href="#a987ebd1fb6eb90c55e29b6cfb1b2caf7" class="m-doc-self">camera</a>(</span><span class="m-doc-wrap">) const -&gt; const <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a>&gt;&amp;</span>
            </dt>
            <dd>Returns the <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to attach to the sprites to generate (if any).</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a0113273173c123b7af780a23db8b3773" class="m-doc">set_camera</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a>&amp; camera) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to attach to the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a11fdd97e13cfa5861e7acca50c343dfd" class="m-doc">set_camera</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a>&amp;&amp; camera) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to attach to the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a8758b0399821cc7221ab031ced3b3189" class="m-doc">set_camera</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a>&gt;&amp; camera) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets or removes the <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to attach to the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#afcb90e998ca7f27dfcdbee512d2bba0f" class="m-doc">set_camera</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a>&gt;&amp;&amp; camera) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets or removes the <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to attach to the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#ab35c1426d897fa2dcc1dc34e2538f278" class="m-doc">remove_camera</a>(</span><span class="m-doc-wrap">) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Removes the <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to attach to the sprites to generate.</dd>
            <dt id="adfa72da0e8034636c25bb40d31a3b4db">
              <span class="m-doc-wrap-bumper">auto <a href="#adfa72da0e8034636c25bb40d31a3b4db" class="m-doc-self">release_camera</a>(</span><span class="m-doc-wrap">) -&gt; <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a>&gt;</span>
            </dt>
            <dd>Releases and returns the <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to attach to the sprites to generate (if any).</dd>
            <dt id="a7bec3394563201fa246dfff276ec37ab">
              <span class="m-doc-wrap-bumper">auto <a href="#a7bec3394563201fa246dfff276ec37ab" class="m-doc-self">build</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a></span>
            </dt>
            <dd>Generates and returns a <a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> without releasing the acquired resources.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a7401653c86d31352e0cc1682abe00b0a" class="m-doc">release_build</a>(</span><span class="m-doc-wrap">) -&gt; <a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a></span>
            </dt>
            <dd>Generates and returns a <a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> releasing the acquired resources.</dd>
            <dt id="a4dbb71c526f67089807d5bea3b14a081">
              <span class="m-doc-wrap-bumper">auto <a href="#a4dbb71c526f67089807d5bea3b14a081" class="m-doc-self">build_optional</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a>&gt;</span>
            </dt>
            <dd>Generates and returns a <a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> without releasing the acquired resources if it could be allocated; <a href="namespacebn.html#a01f293535903e4c4777564a86a0f520b" class="m-doc">bn::<wbr />nullopt</a> otherwise.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#abcfc55355e3ccbfdffea56e0eac34599" class="m-doc">release_build_optional</a>(</span><span class="m-doc-wrap">) -&gt; <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a>&gt;</span>
            </dt>
            <dd>Generates and returns a <a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> releasing the acquired resources if it could be allocated; <a href="namespacebn.html#a01f293535903e4c4777564a86a0f520b" class="m-doc">bn::<wbr />nullopt</a> otherwise.</dd>
            <dt id="a28498db7843a597252c8148d2f42e333">
              <span class="m-doc-wrap-bumper">auto <a href="#a28498db7843a597252c8148d2f42e333" class="m-doc-self">tiles</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a></span>
            </dt>
            <dd>Generates and returns a <a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a> without releasing the acquired resources.</dd>
            <dt id="a0205a826698a53ab0d6ba62c194d0cea">
              <span class="m-doc-wrap-bumper">auto <a href="#a0205a826698a53ab0d6ba62c194d0cea" class="m-doc-self">palette</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a></span>
            </dt>
            <dd>Generates and returns a <a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a> without releasing the acquired resources.</dd>
            <dt id="a14f8c2b0aa82ed117eb5848adc1608c2">
              <span class="m-doc-wrap-bumper">auto <a href="#a14f8c2b0aa82ed117eb5848adc1608c2" class="m-doc-self">tiles_optional</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a>&gt;</span>
            </dt>
            <dd>Generates and returns a <a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a> without releasing the acquired resources if it could be allocated; <a href="namespacebn.html#a01f293535903e4c4777564a86a0f520b" class="m-doc">bn::<wbr />nullopt</a> otherwise.</dd>
            <dt id="a2f0ef5a9019f4802dd0d4da40007b610">
              <span class="m-doc-wrap-bumper">auto <a href="#a2f0ef5a9019f4802dd0d4da40007b610" class="m-doc-self">palette_optional</a>(</span><span class="m-doc-wrap">) const -&gt; <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a>&gt;</span>
            </dt>
            <dd>Generates and returns a <a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a> without releasing the acquired resources if it could be allocated; <a href="namespacebn.html#a01f293535903e4c4777564a86a0f520b" class="m-doc">bn::<wbr />nullopt</a> otherwise.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#ae342e890cb01d622e7fddd5b3f436587" class="m-doc">release_tiles</a>(</span><span class="m-doc-wrap">) -&gt; <a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a></span>
            </dt>
            <dd>Generates and returns a <a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a> releasing the acquired resources.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#ab3851b8f905bf33bd5d81905b7f21511" class="m-doc">release_palette</a>(</span><span class="m-doc-wrap">) -&gt; <a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a></span>
            </dt>
            <dd>Generates and returns a <a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a> releasing the acquired resources.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a8214a3191b8656fbdb33ad8a2eb50fc4" class="m-doc">release_tiles_optional</a>(</span><span class="m-doc-wrap">) -&gt; <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a>&gt;</span>
            </dt>
            <dd>Generates and returns a <a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a> releasing the acquired resources if it could be allocated; <a href="namespacebn.html#a01f293535903e4c4777564a86a0f520b" class="m-doc">bn::<wbr />nullopt</a> otherwise.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a17f581c6012aa16fdafa86695128cea8" class="m-doc">release_palette_optional</a>(</span><span class="m-doc-wrap">) -&gt; <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a>&gt;</span>
            </dt>
            <dd>Generates and returns a <a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a> releasing the acquired resources if it could be allocated; <a href="namespacebn.html#a01f293535903e4c4777564a86a0f520b" class="m-doc">bn::<wbr />nullopt</a> otherwise.</dd>
            <dt id="a808cc4d5b1e97474edd422e7f430faf0">
              <span class="m-doc-wrap-bumper">auto <a href="#a808cc4d5b1e97474edd422e7f430faf0" class="m-doc-self">affine_mat</a>(</span><span class="m-doc-wrap">) const -&gt; const <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>&gt;&amp;</span>
            </dt>
            <dd>Returns the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to attach to the sprites to generate (if any).</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a29cb10cf30534689b2153a919d284618" class="m-doc">set_affine_mat</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>&amp; affine_mat) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to attach to the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a46f6c9a094ecfffd1b4b54cf05ceda78" class="m-doc">set_affine_mat</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>&amp;&amp; affine_mat) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to attach to the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#af2831cba00b3b41f08cffb6cbc3208b8" class="m-doc">set_affine_mat</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>&gt;&amp; affine_mat) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets or removes the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to attach to the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#afcd52971c9e0e12cf9e0ee84f83b144e" class="m-doc">set_affine_mat</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>&gt;&amp;&amp; affine_mat) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets or removes the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to attach to the sprites to generate.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a71bce758a2beb7bc9e49112cd9ba469d" class="m-doc">remove_affine_mat</a>(</span><span class="m-doc-wrap">) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Removes the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to attach to the sprites to generate.</dd>
            <dt id="a92266e78942acadf1fdae1af53eb77bf">
              <span class="m-doc-wrap-bumper">auto <a href="#a92266e78942acadf1fdae1af53eb77bf" class="m-doc-self">release_affine_mat</a>(</span><span class="m-doc-wrap">) -&gt; <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>&gt;</span>
            </dt>
            <dd>Releases and returns the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to attach to the sprites to generate (if any).</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a31e5a655cd4685cfab743ef21d83902c" class="m-doc">remove_affine_mat_when_not_needed</a>(</span><span class="m-doc-wrap">) const -&gt; bool</span>
            </dt>
            <dd>Indicates if the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> attached to the sprites to generate (if any) must be removed when it is not needed anymore.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a21f5f759d5e636be9a46fb805c0ed1b4" class="m-doc">set_remove_affine_mat_when_not_needed</a>(</span><span class="m-doc-wrap">bool remove_when_not_needed) -&gt; <a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp;</span>
            </dt>
            <dd>Sets if the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> attached to the sprites to generate (if any) must be removed when it is not needed anymore.</dd>
          </dl>
        </section>
        <section>
          <h2>Function documentation</h2>
          <section class="m-doc-details" id="a179e5b63dc7afff6b74134095766fd37"><div>
            <h3>
              <span class="m-doc-wrap-bumper"> bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a179e5b63dc7afff6b74134095766fd37" class="m-doc-self">sprite_builder</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1sprite__item.html" class="m-doc">sprite_<wbr />item</a>&amp; item) <span class="m-label m-info">explicit</span> </span></span>
            </h3>
            <p>Constructor.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">item</td>
                  <td><a href="classbn_1_1sprite__item.html" class="m-doc">sprite_<wbr />item</a> containing the required information to generate sprites.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="a59b0eaf4a2400430a42ee545977b0323"><div>
            <h3>
              <span class="m-doc-wrap-bumper"> bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a59b0eaf4a2400430a42ee545977b0323" class="m-doc-self">sprite_builder</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1sprite__item.html" class="m-doc">sprite_<wbr />item</a>&amp; item,
              int graphics_index)</span></span>
            </h3>
            <p>Constructor.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">item</td>
                  <td><a href="classbn_1_1sprite__item.html" class="m-doc">sprite_<wbr />item</a> containing the required information to generate sprites.</td>
                </tr>
                <tr>
                  <td>graphics_index</td>
                  <td>Index of the tile set to reference in item.tiles_item() to generate sprites.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="a8e6f2858db1cec335ddf91eaa1450136"><div>
            <h3>
              <span class="m-doc-wrap-bumper"> bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a8e6f2858db1cec335ddf91eaa1450136" class="m-doc-self">sprite_builder</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1sprite__shape__size.html" class="m-doc">sprite_<wbr />shape_<wbr />size</a>&amp; shape_size,
              <a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a> tiles,
              <a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a> palette)</span></span>
            </h3>
            <p>Constructor.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">shape_size</td>
                  <td>Shape and size of the sprites to generate.</td>
                </tr>
                <tr>
                  <td>tiles</td>
                  <td>Smart pointer to the sprite tile set used to generate sprites.</td>
                </tr>
                <tr>
                  <td>palette</td>
                  <td>Smart pointer to the sprite color palette used to generate sprites.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="aa62b99f3345e749923f76302408ba643"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#aa62b99f3345e749923f76302408ba643" class="m-doc-self">set_x</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> x)</span></span>
            </h3>
            <p>Sets the horizontal position of the sprites to generate (relative to their camera, if they are going to have one).</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">x</td>
                  <td>Horizontal position of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="adcb80ff85a21d0d298c5b5134843b728"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#adcb80ff85a21d0d298c5b5134843b728" class="m-doc-self">set_y</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> y)</span></span>
            </h3>
            <p>Sets the vertical position of the sprites to generate (relative to their camera, if they are going to have one).</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">y</td>
                  <td>Vertical position of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="aed31e580aecb691da7ce9167e566bba0"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#aed31e580aecb691da7ce9167e566bba0" class="m-doc-self">set_position</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> x,
              <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> y)</span></span>
            </h3>
            <p>Sets the position of the sprites to generate (relative to their camera, if they are going to have one).</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">x</td>
                  <td>Horizontal position of the sprites to generate.</td>
                </tr>
                <tr>
                  <td>y</td>
                  <td>Vertical position of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a9f08025e4104447562e9ff20a1c14423"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a9f08025e4104447562e9ff20a1c14423" class="m-doc-self">set_position</a>(</span><span class="m-doc-wrap">const <a href="namespacebn.html#a9d90d92eb951850d75801f5508fc8e90" class="m-doc">fixed_<wbr />point</a>&amp; position)</span></span>
            </h3>
            <p>Sets the position of the sprites to generate (relative to their camera, if they are going to have one).</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">position</td>
                  <td>Position of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a5bf9262c32ab4dc508b4a5084e90ee2c"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a5bf9262c32ab4dc508b4a5084e90ee2c" class="m-doc-self">set_top_left_x</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> top_left_x)</span></span>
            </h3>
            <p>Sets the horizontal top-left position of the sprites to generate (relative to their camera, if they are going to have one).</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">top_left_x</td>
                  <td>Horizontal top-left position of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="ae2dc420c0ae6573d561d7e4c908736fa"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#ae2dc420c0ae6573d561d7e4c908736fa" class="m-doc-self">set_top_left_y</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> top_left_y)</span></span>
            </h3>
            <p>Sets the vertical top-left position of the sprites to generate (relative to their camera, if they are going to have one).</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">top_left_y</td>
                  <td>Vertical top-left position of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="afd11b8d093742d89667f9fa6a244f10d"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#afd11b8d093742d89667f9fa6a244f10d" class="m-doc-self">set_top_left_position</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> top_left_x,
              <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> top_left_y)</span></span>
            </h3>
            <p>Sets the top-left position of the sprites to generate (relative to their camera, if they are going to have one).</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">top_left_x</td>
                  <td>Horizontal top-left position of the sprites to generate.</td>
                </tr>
                <tr>
                  <td>top_left_y</td>
                  <td>Vertical top-left position of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a3d643d3900170f6608ceaf8fb583d414"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a3d643d3900170f6608ceaf8fb583d414" class="m-doc-self">set_top_left_position</a>(</span><span class="m-doc-wrap">const <a href="namespacebn.html#a9d90d92eb951850d75801f5508fc8e90" class="m-doc">fixed_<wbr />point</a>&amp; top_left_position)</span></span>
            </h3>
            <p>Sets the top-left position of the sprites to generate (relative to their camera, if they are going to have one).</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">top_left_position</td>
                  <td>Top-left position of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a93252e52f8ba6da59ec9f722e3109797"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a93252e52f8ba6da59ec9f722e3109797" class="m-doc-self">set_rotation_angle</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> rotation_angle)</span></span>
            </h3>
            <p>Sets the rotation angle in degrees of the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">rotation_angle</td>
                  <td>Rotation angle in degrees, in the range [0..360].</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>If the rotation angle is != 0 and the builder doesn&#x27;t have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>, a new one with the given rotation angle is attached to it.</p>
          </div></section>
          <section class="m-doc-details" id="a6954fd12d394c99b8200f4e568ed4e5c"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a6954fd12d394c99b8200f4e568ed4e5c" class="m-doc-self">set_rotation_angle_safe</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> rotation_angle)</span></span>
            </h3>
            <p>Sets the rotation angle in degrees of the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">rotation_angle</td>
                  <td>Rotation angle in degrees, in any range.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>If the rotation angle is != 0 and the builder doesn&#x27;t have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>, a new one with the given rotation angle is attached to it.</p>
          </div></section>
          <section class="m-doc-details" id="a372f63dd96ed8b6fbedecff801342300"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a372f63dd96ed8b6fbedecff801342300" class="m-doc-self">set_horizontal_scale</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> horizontal_scale)</span></span>
            </h3>
            <p>Sets the horizontal scale of the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">horizontal_scale</td>
                  <td>Horizontal scale of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>If the horizontal scale is != 1 and the builder doesn&#x27;t have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>, a new one with the given horizontal scale is attached to it.</p>
          </div></section>
          <section class="m-doc-details" id="a25e3249c8557cecd9a8f79d53860cff7"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a25e3249c8557cecd9a8f79d53860cff7" class="m-doc-self">set_vertical_scale</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> vertical_scale)</span></span>
            </h3>
            <p>Sets the vertical scale of the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">vertical_scale</td>
                  <td>Vertical scale of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>If the vertical scale is != 1 and the builder doesn&#x27;t have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>, a new one with the given vertical scale is attached to it.</p>
          </div></section>
          <section class="m-doc-details" id="ae29066f5f74ccfa2f449db51a6e1e516"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#ae29066f5f74ccfa2f449db51a6e1e516" class="m-doc-self">set_scale</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> scale)</span></span>
            </h3>
            <p>Sets the scale of the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">scale</td>
                  <td>Scale of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>If the scale is != 1 and the builder doesn&#x27;t have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>, a new one with the given vertical scale is attached to it.</p>
          </div></section>
          <section class="m-doc-details" id="a728ac7b76f03c8af9bca1f485e0a6d4e"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a728ac7b76f03c8af9bca1f485e0a6d4e" class="m-doc-self">set_scale</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> horizontal_scale,
              <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> vertical_scale)</span></span>
            </h3>
            <p>Sets the scale of the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">horizontal_scale</td>
                  <td>Horizontal scale of the sprites to generate.</td>
                </tr>
                <tr>
                  <td>vertical_scale</td>
                  <td>Vertical scale of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>If the horizontal or the vertical scale is != 1 and the builder doesn&#x27;t have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>, a new one with the given vertical scale is attached to it.</p>
          </div></section>
          <section class="m-doc-details" id="a9db77266f373925e134d975a5be3a60e"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a9db77266f373925e134d975a5be3a60e" class="m-doc-self">set_horizontal_shear</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> horizontal_shear)</span></span>
            </h3>
            <p>Sets the horizontal shear of the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">horizontal_shear</td>
                  <td>Horizontal shear of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>If the horizontal shear is != 0 and the builder doesn&#x27;t have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>, a new one with the given horizontal shear is attached to it.</p>
          </div></section>
          <section class="m-doc-details" id="a40847a2b20fc0c29de6f75b3dae14cb9"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a40847a2b20fc0c29de6f75b3dae14cb9" class="m-doc-self">set_vertical_shear</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> vertical_shear)</span></span>
            </h3>
            <p>Sets the vertical shear of the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">vertical_shear</td>
                  <td>Vertical shear of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>If the vertical shear is != 0 and the builder doesn&#x27;t have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>, a new one with the given vertical shear is attached to it.</p>
          </div></section>
          <section class="m-doc-details" id="af6b2addc06ef516c5c431cf0fd0c034c"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#af6b2addc06ef516c5c431cf0fd0c034c" class="m-doc-self">set_shear</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> shear)</span></span>
            </h3>
            <p>Sets the shear of the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">shear</td>
                  <td>Shear of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>If the shear is != 0 and the builder doesn&#x27;t have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>, a new one with the given vertical shear is attached to it.</p>
          </div></section>
          <section class="m-doc-details" id="af8a910054b4a7fa63d331a45b3bb937f"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#af8a910054b4a7fa63d331a45b3bb937f" class="m-doc-self">set_shear</a>(</span><span class="m-doc-wrap"><a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> horizontal_shear,
              <a href="namespacebn.html#a0de0484a51e353c5b48db21590f4dfc9" class="m-doc">fixed</a> vertical_shear)</span></span>
            </h3>
            <p>Sets the shear of the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">horizontal_shear</td>
                  <td>Horizontal shear of the sprites to generate.</td>
                </tr>
                <tr>
                  <td>vertical_shear</td>
                  <td>Vertical shear of the sprites to generate.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>If the horizontal or the vertical shear is != 0 and the builder doesn&#x27;t have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>, a new one with the given vertical shear is attached to it.</p>
          </div></section>
          <section class="m-doc-details" id="a6af0cca222e75e9a2dd19e3b2cd9fdf7"><div>
            <h3>
              <span class="m-doc-wrap-bumper">int bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a6af0cca222e75e9a2dd19e3b2cd9fdf7" class="m-doc-self">bg_priority</a>(</span><span class="m-doc-wrap">) const</span></span>
            </h3>
            <p>Returns the priority of the sprites to generate relative to backgrounds.</p>
<p>Sprites with higher priority are drawn first (and therefore can be covered by later sprites and backgrounds). Sprites cover backgrounds of the same priority.</p>
          </div></section>
          <section class="m-doc-details" id="a7cfb16f9e9d779a8c70ad1db3a95e856"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a7cfb16f9e9d779a8c70ad1db3a95e856" class="m-doc-self">set_bg_priority</a>(</span><span class="m-doc-wrap">int bg_priority)</span></span>
            </h3>
            <p>Sets the priority of the sprites to generate relative to backgrounds.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">bg_priority</td>
                  <td>Priority relative to backgrounds in the range [0..3].</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>Sprites with higher priority are drawn first (and therefore can be covered by later sprites and backgrounds). Sprites cover backgrounds of the same priority.</p>
          </div></section>
          <section class="m-doc-details" id="a564dec718e1c1665df707472fc5af581"><div>
            <h3>
              <span class="m-doc-wrap-bumper">int bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a564dec718e1c1665df707472fc5af581" class="m-doc-self">z_order</a>(</span><span class="m-doc-wrap">) const</span></span>
            </h3>
            <p>Returns the priority of the sprites to generate relative to other ones.</p>
<p>Sprites with higher z orders are drawn first (and therefore can be covered by later sprites).</p><p>Sprites are grouped in layers depending of their background priority and z order, so to reduce memory usage and improve performance, please use as few unique z orders as possible.</p>
          </div></section>
          <section class="m-doc-details" id="ab47e59fb08684976128aeea6ae5bcf4a"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#ab47e59fb08684976128aeea6ae5bcf4a" class="m-doc-self">set_z_order</a>(</span><span class="m-doc-wrap">int z_order)</span></span>
            </h3>
            <p>Sets the priority of the sprites to generate relative to other ones.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">z_order</td>
                  <td>Priority relative to other sprites in the range [-32767..32767].</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>Sprites with higher z orders are drawn first (and therefore can be covered by later sprites).</p><p>Sprites are grouped in layers depending of their background priority and z order, so to reduce memory usage and improve performance, please use as few unique z orders as possible.</p>
          </div></section>
          <section class="m-doc-details" id="a1f02a54db4cf4d31f4f5c2c99c7d4145"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a1f02a54db4cf4d31f4f5c2c99c7d4145" class="m-doc-self">set_horizontal_flip</a>(</span><span class="m-doc-wrap">bool horizontal_flip)</span></span>
            </h3>
            <p>Sets if the sprites to generate must be flipped in the horizontal axis or not.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">horizontal_flip</td>
                  <td><code>true</code> if the sprites must be flipped in the horizontal axis; <code>false</code> otherwise.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a81977126a97ed5a4b904ac8b330e54ef"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a81977126a97ed5a4b904ac8b330e54ef" class="m-doc-self">set_vertical_flip</a>(</span><span class="m-doc-wrap">bool vertical_flip)</span></span>
            </h3>
            <p>Sets if the sprites to generate must be flipped in the vertical axis or not.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">vertical_flip</td>
                  <td><code>true</code> if the sprites must be flipped in the vertical axis; <code>false</code> otherwise.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="ac14064cdfa5b5be77e8083176587169e"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#ac14064cdfa5b5be77e8083176587169e" class="m-doc-self">set_mosaic_enabled</a>(</span><span class="m-doc-wrap">bool mosaic_enabled)</span></span>
            </h3>
            <p>Sets if the mosaic effect must be applied to the sprites to generate or not.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">mosaic_enabled</td>
                  <td><code>true</code> if the mosaic effect must be applied; <code>false</code> otherwise.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="ac5919482e7c9bd406b47c9afcb8c5d70"><div>
            <h3>
              <span class="m-doc-wrap-bumper">bool bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#ac5919482e7c9bd406b47c9afcb8c5d70" class="m-doc-self">blending_enabled</a>(</span><span class="m-doc-wrap">) const</span></span>
            </h3>
            <p>Indicates if blending must be applied to the sprites to generate or not.</p>
<p>Keep in mind that blending and window attributes can&#x27;t be enabled on a sprite at the same time.</p>
          </div></section>
          <section class="m-doc-details" id="a0bf722f041ba29742b16b031a84fd469"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a0bf722f041ba29742b16b031a84fd469" class="m-doc-self">set_blending_enabled</a>(</span><span class="m-doc-wrap">bool blending_enabled)</span></span>
            </h3>
            <p>Sets if blending must be applied to the sprites to generate or not.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">blending_enabled</td>
                  <td><code>true</code> if blending must be applied; <code>false</code> otherwise.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>Keep in mind that blending and window attributes can&#x27;t be enabled on a sprite at the same time.</p>
          </div></section>
          <section class="m-doc-details" id="aa55b90694c3fb12fa4fac1197ef86efd"><div>
            <h3>
              <span class="m-doc-wrap-bumper">bool bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#aa55b90694c3fb12fa4fac1197ef86efd" class="m-doc-self">window_enabled</a>(</span><span class="m-doc-wrap">) const</span></span>
            </h3>
            <p>Indicates if the sprites to generate must be part of the silhouette of the sprite window or not.</p>
<p>Keep in mind that blending and window attributes can&#x27;t be enabled on a sprite at the same time.</p>
          </div></section>
          <section class="m-doc-details" id="a37f8c95d30c92a5634502c81359bddbb"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a37f8c95d30c92a5634502c81359bddbb" class="m-doc-self">set_window_enabled</a>(</span><span class="m-doc-wrap">bool window_enabled)</span></span>
            </h3>
            <p>Sets if the sprites to generate must be part of the silhouette of the sprite window or not.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">window_enabled</td>
                  <td><code>true</code> if the sprites must be part of the silhouette of the sprite window; <code>false</code> otherwise.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>Keep in mind that blending and window attributes can&#x27;t be enabled on a sprite at the same time.</p>
          </div></section>
          <section class="m-doc-details" id="a6ebeba20f312cd064f9c807020c475dd"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a6ebeba20f312cd064f9c807020c475dd" class="m-doc-self">set_double_size_mode</a>(</span><span class="m-doc-wrap"><a href="group__sprite.html#ga68c7968902570367cefcfe86b3db8a72" class="m-doc">sprite_<wbr />double_<wbr />size_<wbr />mode</a> double_size_mode)</span></span>
            </h3>
            <p>Specifies the area the sprites to generate use to be drawn when they have an attached <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">double_size_mode</td>
                  <td><a href="group__sprite.html#ga68c7968902570367cefcfe86b3db8a72" class="m-doc">sprite_<wbr />double_<wbr />size_<wbr />mode</a> enum value.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a065f92743919c92618ed8bb94d42d7aa"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a065f92743919c92618ed8bb94d42d7aa" class="m-doc-self">set_visible</a>(</span><span class="m-doc-wrap">bool visible)</span></span>
            </h3>
            <p>Sets if the sprites to generate must be committed to the GBA or not.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">visible</td>
                  <td><code>true</code> if the sprites must be committed to the GBA; <code>false</code> otherwise.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a0113273173c123b7af780a23db8b3773"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a0113273173c123b7af780a23db8b3773" class="m-doc-self">set_camera</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a>&amp; camera)</span></span>
            </h3>
            <p>Sets the <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to attach to the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">camera</td>
                  <td><a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to copy to the builder.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a11fdd97e13cfa5861e7acca50c343dfd"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a11fdd97e13cfa5861e7acca50c343dfd" class="m-doc-self">set_camera</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a>&amp;&amp; camera)</span></span>
            </h3>
            <p>Sets the <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to attach to the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">camera</td>
                  <td><a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to move to the builder.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a8758b0399821cc7221ab031ced3b3189"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a8758b0399821cc7221ab031ced3b3189" class="m-doc-self">set_camera</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a>&gt;&amp; camera)</span></span>
            </h3>
            <p>Sets or removes the <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to attach to the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">camera</td>
                  <td>Optional <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to copy to the builder.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="afcb90e998ca7f27dfcdbee512d2bba0f"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#afcb90e998ca7f27dfcdbee512d2bba0f" class="m-doc-self">set_camera</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a>&gt;&amp;&amp; camera)</span></span>
            </h3>
            <p>Sets or removes the <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to attach to the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">camera</td>
                  <td>Optional <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to move to the builder.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="ab35c1426d897fa2dcc1dc34e2538f278"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#ab35c1426d897fa2dcc1dc34e2538f278" class="m-doc-self">remove_camera</a>(</span><span class="m-doc-wrap">)</span></span>
            </h3>
            <p>Removes the <a href="classbn_1_1camera__ptr.html" class="m-doc">camera_<wbr />ptr</a> to attach to the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <tfoot>
                <tr>
                  <th style="width: 1%">Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a7401653c86d31352e0cc1682abe00b0a"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a7401653c86d31352e0cc1682abe00b0a" class="m-doc-self">release_build</a>(</span><span class="m-doc-wrap">)</span></span>
            </h3>
            <p>Generates and returns a <a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> releasing the acquired resources.</p>
<p><a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> generation after calling this method may stop working.</p>
          </div></section>
          <section class="m-doc-details" id="abcfc55355e3ccbfdffea56e0eac34599"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a>&gt; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#abcfc55355e3ccbfdffea56e0eac34599" class="m-doc-self">release_build_optional</a>(</span><span class="m-doc-wrap">)</span></span>
            </h3>
            <p>Generates and returns a <a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> releasing the acquired resources if it could be allocated; <a href="namespacebn.html#a01f293535903e4c4777564a86a0f520b" class="m-doc">bn::<wbr />nullopt</a> otherwise.</p>
<p><a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> generation after calling this method may stop working.</p>
          </div></section>
          <section class="m-doc-details" id="ae342e890cb01d622e7fddd5b3f436587"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a> bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#ae342e890cb01d622e7fddd5b3f436587" class="m-doc-self">release_tiles</a>(</span><span class="m-doc-wrap">)</span></span>
            </h3>
            <p>Generates and returns a <a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a> releasing the acquired resources.</p>
<p><a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> generation after calling this method may stop working.</p>
          </div></section>
          <section class="m-doc-details" id="ab3851b8f905bf33bd5d81905b7f21511"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a> bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#ab3851b8f905bf33bd5d81905b7f21511" class="m-doc-self">release_palette</a>(</span><span class="m-doc-wrap">)</span></span>
            </h3>
            <p>Generates and returns a <a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a> releasing the acquired resources.</p>
<p><a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> generation after calling this method may stop working.</p>
          </div></section>
          <section class="m-doc-details" id="a8214a3191b8656fbdb33ad8a2eb50fc4"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a>&gt; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a8214a3191b8656fbdb33ad8a2eb50fc4" class="m-doc-self">release_tiles_optional</a>(</span><span class="m-doc-wrap">)</span></span>
            </h3>
            <p>Generates and returns a <a href="classbn_1_1sprite__tiles__ptr.html" class="m-doc">sprite_<wbr />tiles_<wbr />ptr</a> releasing the acquired resources if it could be allocated; <a href="namespacebn.html#a01f293535903e4c4777564a86a0f520b" class="m-doc">bn::<wbr />nullopt</a> otherwise.</p>
<p><a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> generation after calling this method may stop working.</p>
          </div></section>
          <section class="m-doc-details" id="a17f581c6012aa16fdafa86695128cea8"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a>&gt; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a17f581c6012aa16fdafa86695128cea8" class="m-doc-self">release_palette_optional</a>(</span><span class="m-doc-wrap">)</span></span>
            </h3>
            <p>Generates and returns a <a href="classbn_1_1sprite__palette__ptr.html" class="m-doc">sprite_<wbr />palette_<wbr />ptr</a> releasing the acquired resources if it could be allocated; <a href="namespacebn.html#a01f293535903e4c4777564a86a0f520b" class="m-doc">bn::<wbr />nullopt</a> otherwise.</p>
<p><a href="classbn_1_1sprite__ptr.html" class="m-doc">sprite_<wbr />ptr</a> generation after calling this method may stop working.</p>
          </div></section>
          <section class="m-doc-details" id="a29cb10cf30534689b2153a919d284618"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a29cb10cf30534689b2153a919d284618" class="m-doc-self">set_affine_mat</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>&amp; affine_mat)</span></span>
            </h3>
            <p>Sets the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to attach to the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">affine_mat</td>
                  <td><a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to copy to the builder.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>This method calls set_remove_affine_mat_when_not_needed(false).</p>
          </div></section>
          <section class="m-doc-details" id="a46f6c9a094ecfffd1b4b54cf05ceda78"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a46f6c9a094ecfffd1b4b54cf05ceda78" class="m-doc-self">set_affine_mat</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>&amp;&amp; affine_mat)</span></span>
            </h3>
            <p>Sets the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to attach to the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">affine_mat</td>
                  <td><a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to move to the builder.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>This method calls set_remove_affine_mat_when_not_needed(false).</p>
          </div></section>
          <section class="m-doc-details" id="af2831cba00b3b41f08cffb6cbc3208b8"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#af2831cba00b3b41f08cffb6cbc3208b8" class="m-doc-self">set_affine_mat</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>&gt;&amp; affine_mat)</span></span>
            </h3>
            <p>Sets or removes the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to attach to the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">affine_mat</td>
                  <td>Optional <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to copy to the builder.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>This method calls set_remove_affine_mat_when_not_needed(false) if the given <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> is not null.</p>
          </div></section>
          <section class="m-doc-details" id="afcd52971c9e0e12cf9e0ee84f83b144e"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#afcd52971c9e0e12cf9e0ee84f83b144e" class="m-doc-self">set_affine_mat</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1optional.html" class="m-doc">optional</a>&lt;<a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a>&gt;&amp;&amp; affine_mat)</span></span>
            </h3>
            <p>Sets or removes the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to attach to the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">affine_mat</td>
                  <td>Optional <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to move to the builder.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>This method calls set_remove_affine_mat_when_not_needed(false) if the given <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> is not null.</p>
          </div></section>
          <section class="m-doc-details" id="a71bce758a2beb7bc9e49112cd9ba469d"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a71bce758a2beb7bc9e49112cd9ba469d" class="m-doc-self">remove_affine_mat</a>(</span><span class="m-doc-wrap">)</span></span>
            </h3>
            <p>Removes the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> to attach to the sprites to generate.</p>
            <table class="m-table m-fullwidth m-flat">
              <tfoot>
                <tr>
                  <th style="width: 1%">Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a31e5a655cd4685cfab743ef21d83902c"><div>
            <h3>
              <span class="m-doc-wrap-bumper">bool bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a31e5a655cd4685cfab743ef21d83902c" class="m-doc-self">remove_affine_mat_when_not_needed</a>(</span><span class="m-doc-wrap">) const</span></span>
            </h3>
            <p>Indicates if the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> attached to the sprites to generate (if any) must be removed when it is not needed anymore.</p>
<p>A sprite does not need an <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> when its flipped_identity() method returns <code>true</code>.</p>
          </div></section>
          <section class="m-doc-details" id="a21f5f759d5e636be9a46fb805c0ed1b4"><div>
            <h3>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1sprite__builder.html" class="m-doc">sprite_<wbr />builder</a>&amp; bn::<wbr />sprite_builder::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a21f5f759d5e636be9a46fb805c0ed1b4" class="m-doc-self">set_remove_affine_mat_when_not_needed</a>(</span><span class="m-doc-wrap">bool remove_when_not_needed)</span></span>
            </h3>
            <p>Sets if the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> attached to the sprites to generate (if any) must be removed when it is not needed anymore.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">remove_when_not_needed</td>
                  <td><code>true</code> if the <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> must be removed when it is not needed anymore; <code>false</code> otherwise.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
<p>A sprite does not need an <a href="classbn_1_1sprite__affine__mat__ptr.html" class="m-doc">sprite_<wbr />affine_<wbr />mat_<wbr />ptr</a> when its flipped_identity() method returns <code>true</code>.</p>
          </div></section>
        </section>
      </div>
    </div>
  </div>
</article></main>
<div class="m-doc-search" id="search">
  <a href="#!" onclick="return hideSearch()"></a>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-m-8 m-push-m-2">
        <div class="m-doc-search-header m-text m-small">
          <div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div>
          <div id="search-symbolcount">&hellip;</div>
        </div>
        <div class="m-doc-search-content">
          <form>
            <input type="search" name="q" id="search-input" placeholder="Loading &hellip;" disabled="disabled" autofocus="autofocus" autocomplete="off" spellcheck="false" />
          </form>
          <noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript>
          <div id="search-help" class="m-text m-dim m-text-center">
            <p class="m-noindent">Search for symbols, directories, files, pages or
            modules. You can omit any prefix from the symbol or file path; adding a
            <code>:</code> or <code>/</code> suffix lists all members of given symbol or
            directory.</p>
            <p class="m-noindent">Use <span class="m-label m-dim">&darr;</span>
            / <span class="m-label m-dim">&uarr;</span> to navigate through the list,
            <span class="m-label m-dim">Enter</span> to go.
            <span class="m-label m-dim">Tab</span> autocompletes common prefix, you can
            copy a link to the result using <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">L</span> while <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">M</span> produces a Markdown link.</p>
          </div>
          <div id="search-notfound" class="m-text m-warning m-text-center">Sorry, nothing was found.</div>
          <ul id="search-results"></ul>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="search-v2.js"></script>
<script src="searchdata-v2.js" async="async"></script>
<footer><nav>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <p>Butano Docs. Created with <a href="https://doxygen.org/">Doxygen</a> 1.14.0 and <a href="https://mcss.mosra.cz/">m.css</a>.</p>
      </div>
    </div>
  </div>
</nav></footer>
</body>
</html>
